﻿body {
    margin: 0;
    padding: 0;
    background: #185ea0;
    background-image: url('Images/bg.png');
    background-repeat: no-repeat;
    font-family: 'Segoe UI';
    color: #52596c;
}

#x {
    width: 100%;
    height: 100%;
    position: absolute;
}

#application {
    width: 80%;
    height: 80%;
    margin: 0 auto;
}

#app {
    height: 100%;
    display: none;
}

#top {
    width: 100%;
    height: 43px;
    max-height: 43px;
    float: left;
    background: rgb(12,56,99);
    background: -moz-linear-gradient(top, rgba(12,56,99,1) 0%, rgba(35,83,138,1) 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(12,56,99,1)), color-stop(100%,rgba(35,83,138,1)));
    background: -webkit-linear-gradient(top, rgba(12,56,99,1) 0%,rgba(35,83,138,1) 100%);
    background: -o-linear-gradient(top, rgba(12,56,99,1) 0%,rgba(35,83,138,1) 100%);
    background: -ms-linear-gradient(top, rgba(12,56,99,1) 0%,rgba(35,83,138,1) 100%);
    background: linear-gradient(to bottom, rgba(12,56,99,1) 0%,rgba(35,83,138,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0c3863', endColorstr='#23538a',GradientType=0 );
    border-top: 1px solid #568c93;
    border-bottom: 1px solid #506be6;
}

    #top a {
        display: block;
        color: #FFF;
        text-decoration: none;
        font-size: 18px;
        font-family: 'Segoe UI';
        margin-top: 11px;
        margin-left: 13px;
    }

        #top a:hover {
            color: #b8c5ff;
        }

#content {
    width: 100%;
    height: 85%;
    float: left;
    background: #FFF;
    min-height:310px;
}

#users {
    width: 25%;
    height: 100%;
    float: left;
    background: rgb(60,51,73);
    background: -moz-linear-gradient(left, rgba(60,51,73,1) 0%, rgba(68,74,114,1) 100%);
    background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(60,51,73,1)), color-stop(100%,rgba(68,74,114,1)));
    background: -webkit-linear-gradient(left, rgba(60,51,73,1) 0%,rgba(68,74,114,1) 100%);
    background: -o-linear-gradient(left, rgba(60,51,73,1) 0%,rgba(68,74,114,1) 100%);
    background: -ms-linear-gradient(left, rgba(60,51,73,1) 0%,rgba(68,74,114,1) 100%);
    background: linear-gradient(to right, rgba(60,51,73,1) 0%,rgba(68,74,114,1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#3c3349', endColorstr='#444a72',GradientType=1 );
    color: #FFF;
    font-size: 12px;
}

#you {
    width: 90%;
    float: left;
    padding: 5%;
    background: rgb(36, 21, 55);
    line-height: 18px;
}

    #you span {
        font-weight: bold;
    }

    #you a {
        color: #506be6;
        text-decoration: none;
    }

        #you a:hover {
            color: #FFF;
        }

#others {
    width: 100%;
    height: 100%;
    float: left;
}

    #others ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        #others ul li {
            width: 100%;
            padding-top: 7px;
            padding-bottom: 7px;
            border-bottom: 1px solid #52596c;
            text-indent: 5%;
        }

#chat {
    width: 75%;
    height: 100%;
    float: left;
}

#messagesBox {
    padding: 0;
    height: 80%;
    margin: 0;
    list-style: none;
    font-size: 12px;
    overflow-y: scroll;
}

#messages {
    padding: 0;
    margin: 0;
    height: auto;
    float: left;
    width: 100%;
}

    #messages li {
        display: block;
        width: 94%;
        float: left;
        padding: 3%;
        border-bottom: 1px solid #C6C6C6;
    }


        #messages li:nth-child(even) {
            background: #f5f7ff;
        }

        #messages li .top {
            width: 100%;
            float: left;
        }

            #messages li .top .user {
                float: left;
                font-weight: bold;
                color: rgb(36, 21, 55);
            }

            #messages li .top .date {
                float: right;
                color: #808080;
                font-size: 11px;
            }

        #messages li .message {
            width: 100%;
            float: left;
            margin-top: 7px;
            line-height: 18px;
        }

.myMessage {
    color: #06437b !important;
}

#newMessage {
    width: 100%;
    float: left;
    border-top: 2px solid #b8c5ff;
    padding-top: 13px;
    padding-bottom: 13px;
}

    #newMessage input {
        font-family: 'Segoe UI';
        width: 92%;
        height: 30px;
        float: left;
        border: 1px solid #c6c6c6;
        padding: 7px 2%;
        margin: 0px 2%;
        font-size: 12px;
    }

#register {
    width: 50%;
    margin: 0 auto;
}

    #register input {
        width: 100%;
        font-family: 'Segoe UI';
        float: left;
        border: 1px solid #c6c6c6;
        padding: 7px 0px;
        font-size: 12px;
        text-indent: 2%;
    }

    #register button {
        font-family: 'Segoe UI';
        float: right;
        border: 1px solid #c6c6c6;
        padding: 7px 2%;
        margin: 13px 0px;
        font-size: 12px;
    }

        #register button:hover {
            background-color: #b8c5ff;
        }
